import foo from './foo'
foo.say()

if (module.hot) {
  module.hot.accept(() => {
    console.log('HMR')
  })
}